package com.atguigu.eduservice.client;

import com.atguigu.commonutils.CollectLinkDTO;
import com.atguigu.commonutils.R;
import com.atguigu.eduservice.entity.Member;
import com.atguigu.serviceBase.GuiguException;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author krilo
 * @date 2024-03-13 16:04
 */
@Component
public class UcenterClientImpl implements UcenterClient {



    @Override
    public Member getInfo(@PathVariable String id) {


        throw new GuiguException(20001,"获取用户信息失败");
    }

    @Override
    public R deleteCollectLink(CollectLinkDTO collectLinkDTO) {
        return null;
    }

    @Override
    public List<String> getCollectrCourseId(String userId) {
        throw new GuiguException(20001,"获取课程收藏列表失败");
    }


}